#ifndef BING_H
#define BING_H

#include "wiki.h"

class Bing : public Wiki
{
public:
    enum Lang {
        EN,
        ZH,
    };
    Bing(Lang lang = EN);

    // Wiki interface
public:
    virtual QString name() override;
    WIKI_AUTOLOAD
    WIKI_USE_URL
    WIKI_USE_DELAY(100)
    WIKI_FORWARED_CONTENT
    virtual QString content(const QString &text) override;

private:
    Lang m_lang;
};

#endif // BING_H
